package com.work.libtest2.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.work.libtest2.dto.ExtraWorkDto;
import com.work.libtest2.entity.ExtraWork;

import java.util.List;

/**
 * ClassName: ExtraWorkService
 * Package: com.work.libtest2.service
 * Description:
 *
 * @Author
 * @Create 2024/6/10 15:33
 * @Version 1.0
 */
public interface ExtraWorkService {
    IPage<ExtraWorkDto> getPage(Integer currentPage, Integer pageSize, ExtraWorkDto extraWorkDto);

    List<ExtraWork> getAllEmpName();

    int addExtraWork(ExtraWork extraWork);

    ExtraWork getById(Integer ewId);

    int updateExtraWork(ExtraWork extraWork);

    int deleteById(Integer ewId);
}
